export default {
  data(){
    return{
      height:{
        left: null,
        right: null,
        base: 'auto',
      },
    }
  },
  methods:{
    getHeight(){
      this.height.base = 'auto';
      this.$nextTick(() => {
        this.height.left = this.$refs.blockLeft.offsetHeight;
        this.height.right = this.$refs.blockRight.offsetHeight;
        let height = this.height.left >= this.height.right ? this.height.left : this.height.right;
        this.height.base = height + 'px';
      });
    },
  }
}